package com.example.designmodel.adapter

import com.android.baselibrary.base.BaseAdapter
import com.android.baselibrary.base.BasePath
import com.example.designmodel.R
import com.example.designmodel.databinding.LayoutItemBinding

class DesignModelAdapter:BaseAdapter<BasePath,LayoutItemBinding>() {
    override fun getItemLayoutId(): Int = R.layout.layout_item

    override fun covert(binding: LayoutItemBinding, t: BasePath, position: Int) {
        binding.tvModel.text = t.moduleName

    }
}